<template>
    <button class="MyButton" v-bind="$attrs">
        <slot></slot>
    </button>
</template>

<script setup lang="ts">
const emit = defineEmits(['click'])
const props = defineProps({
    type: {
        type: String,
        default: 'primary'
    }
})

defineOptions({
    inheritAttrs: false
})
</script>

<style scoped lang="scss">
.MyButton{
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
}
</style>